delete multiple row in laravel

63

delete multiple row in laravel -

DB::table('users')->delete();

DB::table('users')->where('votes', '>', 100)->delete();

laravel delete multiple rows -

$org->products()->whereIn('id', $ids)->delete()

Comments

Submit
0 Comments